package com.TexasHoldem.core;

public class TableConfig 
{
	// 桌子ID
	private int id = 0;
	
	private String name = "澳门";
	
	//人数限制
	private int limitPlayerCount = 6;
	
	//桌子类型,无限注,有限注
	private TableType tableType = TableType.NO_LIMIT;
	
	//当前大盲金额
	private int bigBlind = 2;

	//升级大盲时间间隔
	private int bigBlindUpTime = 60000 * 30;
	
	//下注超时 ms
	private int betTimeOut = 20000;
	
	// 锦标赛门票
	private String token = "";
	
	//锦标赛ID
	private int championshipid = 0;
    
	//锦标赛等级
    private int championshipidlevel = 0;
    
    //锦标赛开赛时间
    private long championshipstarttime = 0;
    
    //是否自动补充筹码
    private boolean autoputmoney = true;
    
    //休息时间
    private long championshipreststarttime = 0;
    
    //休息时间长度
    private long championshipresttime = 0;
    
    private boolean bzoom = true;

	

	public TableConfig(int id, int limitPlayerCount, TableType tableType,
			int bigBlind, int bigBlindUpTime, int betTimeOut, String token,
			int championshipid, int championshipidlevel) {
		super();
		this.id = id;
		this.limitPlayerCount = limitPlayerCount;
		this.tableType = tableType;
		this.bigBlind = bigBlind;
		this.bigBlindUpTime = bigBlindUpTime;
		this.betTimeOut = betTimeOut;
		this.token = token;
		this.championshipid = championshipid;
		this.championshipidlevel = championshipidlevel;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getLimitPlayerCount() {
		return limitPlayerCount;
	}

	public void setLimitPlayerCount(int limitPlayerCount) {
		this.limitPlayerCount = limitPlayerCount;
	}

	public TableType getTableType() {
		return tableType;
	}

	public void setTableType(TableType tableType) {
		this.tableType = tableType;
	}

	public int getBigBlind() {
		return bigBlind;
	}

	public void setBigBlind(int bigBlind) {
		this.bigBlind = bigBlind;
	}

	public int getBigBlindUpTime() {
		return bigBlindUpTime;
	}

	public void setBigBlindUpTime(int bigBlindUpTime) {
		this.bigBlindUpTime = bigBlindUpTime;
	}

	public int getBetTimeOut() {
		return betTimeOut;
	}

	public void setBetTimeOut(int betTimeOut) {
		this.betTimeOut = betTimeOut;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public int getChampionshipid() {
		return championshipid;
	}

	public void setChampionshipid(int championshipid) {
		this.championshipid = championshipid;
	}

	public int getChampionshipidlevel() {
		return championshipidlevel;
	}

	public void setChampionshipidlevel(int championshipidlevel) {
		this.championshipidlevel = championshipidlevel;
	}

	
	public long getChampionshipstarttime() {
		return championshipstarttime;
	}

	public void setChampionshipstarttime(long championshipstarttime) {
		this.championshipstarttime = championshipstarttime;
	}
	
	public boolean isAutoputmoney() {
		return autoputmoney;
	}

	public void setAutoputmoney(boolean autoputmoney) {
		this.autoputmoney = autoputmoney;
	}

	public TableConfig() {
		super();
		// TODO Auto-generated constructor stub
	}

	public long getChampionshipreststarttime() {
		return championshipreststarttime;
	}

	public void setChampionshipreststarttime(long championshipreststarttime) {
		this.championshipreststarttime = championshipreststarttime;
	}

	public long getChampionshipresttime() {
		return championshipresttime;
	}

	public void setChampionshipresttime(long championshipresttime) {
		this.championshipresttime = championshipresttime;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	public boolean isBzoom() {
		return bzoom;
	}

	public void setBzoom(boolean bzoom) {
		this.bzoom = bzoom;
	}
    
    
    
}
